<?php use_helper('Javascript') ?>

 <!--  Форма добаления каталога   -->
			
			<div id="add_folder_indicator" style="display: none">
			<?php echo image_tag('/images/indicator.gif') ?>&nbsp;&nbsp;<font color="red"><?php echo __('ждите')?>...</font>
			</div> 
			<div id="add_folder_form">
			</div>
			
<!--  *************************   -->

<!--  таблица корневых каталогов -->

<div id="folders" style="white-space: nowrap; width: 300px;">
  <?php foreach ($folders as $folder):?>
		<?php include_partial('folder_tools/item',array('f'=>$folder, 'rem'=>$rem))?>
   <?php endforeach?>

</div>




  <?php foreach($folders as $f): ?>
    <?php //include_partial('folder_tools/panel',array('f'=>$f))?>
  <?php endforeach?>

 <?php if (sfContext::getInstance()->getUser()->getAttribute('material.filters_folder')):?>
 <?php echo link_to(__('Сброс фильтра'), 'material_collection', array('action' => 'filter'), array('query_string' => '_reset', 'method' => 'post')) ?>
  <?php endif ?>